TLA_Media\GTM_Kit\Integration\WooCommerce C

Total Complexity 115
Dependencies 7
Dependents 1
Total lines 893
Lines of code 563
Logical lines of code 301
Comment lines 176
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
get_datalayer_content_order_received()
C
30 21 117
get_coupon_discount()
A
45 14 40
get_item_data()
A
45 10 37
get_datalayer_content()
A
47 9 33
enqueue_scripts()
S
53 5 26
get_item_data_tag()
S
52 5 24
get_datalayer_content_product_page()
S
54 5 20
set_global_settings()
S
48 4 30
get_cart_items()
S
51 4 27
set_list_name_on_category_and_tag()
S
62 5 11
cart_item_remove_link()
S
53 4 25
get_datalayer_content_checkout()
S
55 4 19
register()
S
43 1 58
product_list_loop_add_to_cart_tracking()
S
54 3 23
get_datalayer_content_cart()
S
57 3 17
set_list_name_in_woocommerce_loop()
S
65 3 8
Compatibility_With_TI_Wishlist()
S
67 3 8
instance()
S
69 2 7
get_datalayer_content_product_tag()
S
70 2 6
get_datalayer_content_product_category()
S
70 2 6
prefix_item_id()
S
74 2 4
product_block_add_to_cart_tracking()
S
74 1 4
grouped_product_add_to_cart_tracking()
S
74 1 4
single_product_add_to_cart_tracking()
S
72 1 5
__construct()
S
76 1 4